// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
  compatibilityDate: '2025-05-15',
  devtools: { enabled: true },
  srcDir: 'src',
  modules: [
    '@element-plus/nuxt', '@pinia/nuxt'
  ],
  elementPlus: {},
  runtimeConfig: {
    // 仅在服务器端可用的私密密钥
    apiSecret: '123',
    // 在 public 中的密钥也将暴露给客户端
    public: {
      apiBase: 'http://official.yangtuoyou.com'
    }
  }
})
